projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42290f0
)
xen/arm: Set nr_cpu_ids to available number of cpus
author
Vijaya Kumar K
<Vijaya.Kumar@caviumnetworks.com>
Mon, 1 Feb 2016 09:26:13 +0000
(14:56 +0530)
committer
Stefano Stabellini
<sstabellini@kernel.org>
Thu, 16 Mar 2017 20:59:21 +0000
(13:59 -0700)
nr_cpu_ids for arm platforms is incorrectly set to NR_CPUS
irrespective of the number of cpus supported by platform.
Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Reviewed-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/setup.c
patch
|
blob
|
history
diff --git
a/xen/arch/arm/setup.c
b/xen/arch/arm/setup.c
index 38eb888c0be523711b8223a36c09d53137e589b0..861c39e666a61192e09cb5ca3b7eee6bb9fad815 100644
(file)
--- a/
xen/arch/arm/setup.c
+++ b/
xen/arch/arm/setup.c
@@
-784,6
+784,8
@@
void __init start_xen(unsigned long boot_phys_offset,
smp_init_cpus();
cpus = smp_get_max_cpus();
+ printk(XENLOG_INFO "SMP: Allowing %u CPUs\n", cpus);
+ nr_cpu_ids = cpus;
init_xen_time();